import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
declare var $: any;

@Component({
  selector: 'app-index2',
  templateUrl: './index2.component.html',
  styleUrls: ['./index2.component.css']
})
export class Index2Component implements OnInit {
  [x: string]: any;

  constructor(private router:Router) { }

  ngOnInit() {
   
    $( "#datepicker" ).datepicker();
    // $( "#format" ).change(function() {
    //   $( "#datepicker" ).datepicker( "option", "dateFormat", $( this ).val() );
    // });

  }

  togoWith(){
    this.router.navigate(['/gowithDetail']);
  }

  
}


